<top-title title="完结审批" icon="am-icon-user"></top-title>
<h3 class="am-margin-vertical-sm am-padding-left-sm mh-text-deepcolor">{{::costCheck.currentname}}</h3>
<!--完结审批-->
<div class="mh-padding-none am-g">
  <img class="am-u-sm-3" ng-repeat="img in costCheck.images track by $index" ng-src="../../{{::img.url}}">
</div>
<!--说明-->
<div class="am-g mh-text-deepcolor">
  <div class="am-u-sm-3" style="font-weight: bold">说明：</div>
  <div class="am-u-sm-9">{{::costCheck.currentCost.description}}</div>
</div>
<div class="am-g mh-text-deepcolor am-margin-vertical-xs">
  <div class="am-u-sm-4" style="font-weight: bold">开始时间：</div>
  <div class="am-u-sm-8">{{::costCheck.startTime|date:'yyyy-MM-dd HH:mm'}}</div>
</div>
<div class="am-g mh-text-deepcolor">
  <div class="am-u-sm-4" style="font-weight: bold">结束时间：</div>
  <div class="am-u-sm-8">{{::costCheck.endTime|date:'yyyy-MM-dd HH:mm'}}</div>
</div>
<!--审批表单-->
<div class="am-padding-sm">
  <form class="am-form">
    <label class="am-form-label">审批说明：</label>
    <textarea style="background-color: #ebebeb;border: none;min-height: 128px"
              ng-model="costCheck.description"></textarea>
  </form>
  <div class="am-text-center am-margin-top">
    <button
      class="am-btn am-btn-default mh-lightgreen mh-text-white am-radius am-padding-horizontal-xl am-margin-right-xs"
      ng-click="costCheck.agree()">
      同意
    </button>
    <button
      class="am-btn am-btn-default mh-lightgreen mh-text-white am-radius am-padding-horizontal-xl am-margin-left-xs"
      ng-click="costCheck.denied()">
      退回
    </button>
  </div>
</div>
